package com.guan.order.model;

import com.guan.product.model.ProductInfo;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 订单表 (OrderDetail)实体类
 *
 * @author makejava
 * @since 2024-08-05 16:26:57
 */
@Data
public class OrderInfo implements Serializable {
    private static final long serialVersionUID = 634042003559683150L;
    /**
     * 订单 id
     */
    private Integer id;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 产品 id
     */
    private Long productId;
    /**
     * 下单数量
     */
    private Integer num;
    /**
     * 实付款
     */
    private Long price;

    private Integer deleteFlag;

    private Date createTime;

    private Date updateTime;

    private ProductInfo productInfo;


}

